home *** CD-ROM | disk | FTP | other *** search
- #ifndef XCOMM
- #define XCOMM #
- #endif
-
- BINDIR=/bin
- DESTDIR=/usr/skunk
-
- XCOMM
- XCOMM Configuration portion of Imakefile for XPaint
- XCOMM
-
- XCOMM XPAINT_TOP = $(TOP)
-
- XCOMM
- XCOMM Defines that may or may not be useful
- XCOMM
- XCOMM -DMISSING_STRERROR if you system doesn't have strerror()
- XCOMM -DMISSING_STDARG_H if you system doesn't have <stdarg.h>
- XCOMM -DNOSTDHDRS if you don't have <unistd.h> or <stdlib.h>
- XCOMM -DNEED_STRCASECMP if your system doesn't provide strcasecmp()
- XCOMM
- XCOMM Just remove the 'XCOMM' line on the line below, and tailor to you need.
- XCOMM
- XCOMM EXTRA_DEFINES = -DMISSING_STDARG_H -DNOSTDHDRS
-
- #ifdef SunArchitecture
- EXTRA_DEFINES = -DMISSING_STRERROR
- #endif
-
- XCOMM Need an ANSI C compiler
- XCOMM
- XCOMM Which is either 'gcc' or 'acc' on a SparcStation
- XCOMM most MIPS bassed machines will do just fine using 'cc'
- XCOMM
- XCOMM CC = gcc
- XCOMM CC = acc
-
- XCOMM If you have the TIFF library, make HaveTIFF defined
- XCOMM and make sure the path names to the library and
- XCOMM includes are correct.
- XCOMM
-
- #define HaveTIFF
-
- #ifdef HaveTIFF
- TIFF_LIB = $(XPAINT_TOP)/../tiff/libtiff.a
- TIFF_INCLUDE = -I$(XPAINT_TOP)/../tiff
- #endif
-
- XCOMM If you have the JPEG library, make HaveJPEG defined
- XCOMM and make sure the path names to the library and
- XCOMM includes are correct.
- XCOMM
-
- #undef HaveJPEG
-
- #ifdef HaveJPEG
- JPEG_LIB = $(XPAINT_TOP)/../jpeg/libjpeg.a
- JPEG_INCLUDE = -I$(XPAINT_TOP)/../jpeg
- #endif
-
- XCOMM
- XCOMM If you are running SunOS and get a error with the following undefined
- XCOMM symbols from the link line:
- XCOMM _get_wmShellWidgetClass
- XCOMM _get_applicationShellWidgetClass
- XCOMM
- XCOMM Try defining this lines
- XCOMM
- XCOMM #undef XawClientLibs
- XCOMM #define XawClientLibs -lXaw -Bstatic -lXmu -Bdynamic -lXt -lXext -lX11
- XCOMM
-
- XCOMM *******************************************************************
- XCOMM ** Not so interesting stuff.
- XCOMM *******************************************************************
-
- XCOMM
- XCOMM If you have the XPM library, make HaveXPM defined
- XCOMM and make sure the path names to the library and
- XCOMM includes are correct.
- XCOMM
-
- #define HaveXPM
-
- #ifdef HaveXPM
- XPM_LIB = $(XPAINT_TOP)/../xpm-3.3/lib/libXpm.a
- XPM_INCLUDE = -I$(XPAINT_TOP)/../xpm-3.3/lib
- XCOMM
- XCOMM If you have a later version of xpm on the system
- XCOMM
- XCOMM XPM_LIB=/usr/local/lib/libXpm.a
- XCOMM XPM_INCLUDE=-I/usr/local/include/xpm
- #endif
-
- XCOMM Where to put stuff on "install" or "install.man", if
- XCOMM the defaults aren't ok
- XCOMM
- BINDIR = /usr/skunk/bin/X11
- MANDIR = /usr/skunk/man
- #undef ManSuffix
- #define ManSuffix 1
-
- XCOMM How excited are you about debugging?
-
- CDEBUGFLAGS = -O
- OPTIMIZER = $(CDEBUGFLAGS)
-